import java.util.Scanner;
public class test_3_20 {
    public static void main(String[] args) {
    short a =128;
    byte b = (byte)a;
        System.out.println(a);
        System.out.println(b);

     }
    public static void main1(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个年份：");
        int a = input.nextInt();
        if ((a % 100 != 0 && a % 4 == 0) || (a % 400 == 0)){
            System.out.println(a + "是闰年!");
        }
        else{
            System.out.println(a + "是平年!");
        }
    }
    public static void main2(String[] args){
        int x = 100;
        int y = 10;
        if(x == 100)
            if(y == 10)
                System.out.println("好");
        else
                System.out.println("不好");
    }
}
